#include <stdio.h>

int mystrcmp(const char *dest, const char *src)
{
    while(*dest != '\0'  && *src != '\0')
    {
        if(*dest != *src)
        {
            return *dest - *src;
        }

        src++;
        dest++;
    }

    return *dest - *src;
}